package com.example.qa.service.application.service;

import com.example.qa.service.application.port.in.GetqaListUseCase;
import com.example.qa.service.domain.qa;
import com.example.qa.service.domain.port.GetqaListPort;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GetqaListService implements GetqaListUseCase {

    @Resource
    GetqaListPort getqaListPort;
    @Override
    public List<qa> getqas() {
        List<qa> qas = qa.getqas(getqaListPort);
        return qas;
    }
}
